package reno.ribbon.ribbon.rivenmarket;

import com.alibaba.fastjson.JSONObject;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class RivenMarketController {

    @Autowired
    RivenMarketService rivenMarketService;

    @RequestMapping(value = "/getRivenMarket")
    public JSONObject getCetusCycle(@RequestParam(name = "WeaponCn") String weaponCN) {
        return rivenMarketService.getRivenMarket(weaponCN);
    }


}
